import request from '@/utils/request'

export const regAPI = obj => {
  return request.post('/api/reg', obj)
}

export const loginAPI = obj => {
  return request.post('/api/login', obj)
}

export const getUserAPI = () => {
  return request.get('/my/userinfo')
}
